package com.dc.system.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "菜单模块Model")
public class SysMenu  implements Serializable {

   @ApiModelProperty(value = "编号")
   private String code;

   @ApiModelProperty(value = "父节点id")
   private int fkParentId;

   @ApiModelProperty(value = "图标")
   private String icon;

   @ApiModelProperty(value = "前端按钮ids")
   private String ids;

   @ApiModelProperty(value = "0不是叶子，1是叶子")
   private int isLeaf;

   @ApiModelProperty(value = "0不是1是 表示是否是总系统的菜单")
   private int isMain;

   @ApiModelProperty(value = "菜单id")
   private int menuId;

   @ApiModelProperty(value = "名字")
   private String name;

   @ApiModelProperty(value = "地址")
   private String url;

   @ApiModelProperty(value = "版本号")
   private int version;

}
